#ifndef ORIGINE_H
#define ORIGINE_H

#include "vector.h"

#include <QObject>

class Origine: public QObject
{
    Q_OBJECT

    Vector _up;
    Vector _across;
    Vector _corner;
    Vector _center;

public:
    explicit Origine(Vector center = Vector(0.0,0.0,0.0),
            Vector up = Vector(0.0,1.0,0.0),
            Vector across = Vector(0.0,0.0,1.0),
            Vector corner = Vector(1.0,0.0,0.0),
            QObject *parent = 0);

    Vector center() const;
    Vector up() const;
    Vector across() const;
    Vector corner() const;

    static Vector worldCenter();
    static Vector worldUp();
    static Vector worldAcross();
    static Vector worldCorner();

};

#endif // ORIGINE_H
